PGetPrivateString(const char * sDeveloperID, const char * sPlugInID, short cTargetClass,
unsigned long nTypeFlag, unsigned long nTargetID);
const char * sDeveloperID;
Four-character string representing your name or your company name (e.g., ADBE for Adobe)const char * sPlugInID;
Four-character string representing plug-in (e.g., KYLN for Keyline plug-in)short cTargetClass;
kClassObject for imported graphics and images, and for PageMaker-drawn lines, boxes, ovals, polygons, and text blocks
kClassStory for stories
kClassPub for publication (current publication only)
kClassPage for page
kClassMaster for master pageunsigned long nTypeFlag;
Identifier you defined to distinguish between types of private data for same cTargetClass (-1 and -2 are notallowed).unsigned long nTargetID;
Internal PageMaker identifier for element (graphic, image, text block, page, master page, or story) to which private data is associated
0 (zero) for publication (PageMaker gets private string for current publication only)
short cPlatform;
0 for Windows
1 for Macintosh
const char * sPrivateString;
Private string, null terminatedExceptions. PGetPrivateString throws an exception if:
PGetPrivateString("ADBE", "KYLN", classobject,
1, 15);
The PDeletePrivateData, PPrivateData, and PPrivateString commands
Comments or suggestions? Contact Adobe Developer Support